<%@ include file="/WEB-INF/jsp/include/include.jsp" %>
<html>
<head>
</head>
<body>
<div class="row">
	<div class="span4"><h1><fmt:message key="bonus.current" />${user.balance}<fmt:message key="bonus.unit" /></h1></div>
</div>
<section id="tables">
	<table class="table table-bordered table-striped table-hover">
		<thead>
			<tr>
				<th><fmt:message key="record.action" /></th>
				<th><fmt:message key="record.point" /></th>
				<th><fmt:message key="record.overage" /></th>
				<th><fmt:message key="record.date" /></th>
			</tr>
		</thead>
		<tbody>
			<c:forEach items="${user.records}" var="record">
			<tr>
				<td>${record.rule.action}</td>
				<td>${record.rule.point}</td>
				<td>${record.balance}</td>
				<td>${record.recordDate}</td>
			</tr>
			</c:forEach>
		</tbody>
	</table>
</section>
</body>
</html>